StarBurn OCX
ContentsIndexHome
PreviousUpNext
IDevice::TrackAtOnceFromFile Method
C++
[id(35), helpstring("burns track-at-once from specified file")]
HRESULT TrackAtOnceFromFile([in] BSTR TrackFileName, [in] VARIANT_BOOL TestWrite, [in] VARIANT_BOOL NextSessionAllowed);

Return last sense key. It's used to get device error for diagnostic. Here is the sense codes: 

 

SENSE_KEY_NO_SENSE = 0, 
SENSE_KEY_RECOVERED_ERROR = 1, 
SENSE_KEY_NOT_READY = 2, 
SENSE_KEY_MEDIUM_ERROR = 3, 
SENSE_KEY_HARDWARE_ERROR = 4, 
SENSE_KEY_ILLEGAL_REQUEST = 5, 
SENSE_KEY_UNIT_ATTANTION = 6, 
SENSE_KEY_DATA_PROTECTION = 7, 
SENSE_KEY_BLANK_CHECK = 8, 
SENSE_KEY_VENDOR_SPECIFIC = 9, 
SENSE_KEY_COPY_ABORTED = 10, 
SENSE_KEY_ABORTED_COMMAND = 11, 
SENSE_KEY_EQUAL = 12, 
SENSE_KEY_VOLUME_OVERFLOW = 13, 
SENSE_KEY_MISCOMPARE = 14, 
SENSE_KEY_RESERVED = 15 

Return last sense key

Links